package com.shiyi.system.mapper;

import com.shiyi.core.vo.TokenUser;
import com.shiyi.system.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author shiyi
 * @since 2020-11-19
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 根据用户名称查询用户信息
     */
    TokenUser queryUserByUserName(@Param("userName")String username);

//    User loadUserByUsername(@Param("userName") String userName);
}
